package com.ylsd.prospectivestudent.service;

import com.ylsd.prospectivestudent.entity.*;
import org.ylsdxy.model.response.CustomPage;

import java.util.List;

public interface PSService {
    CustomPage<List<ProspectiveStudent>> findByPage(ProspectiveStudent prospectiveStudent);

    boolean insertPS(ProspectiveStudent student);

    boolean delPS(List<Integer> id);

    boolean updatePS(ProspectiveStudent student);

    CustomPage<List<ProspectiveStudent>> findByDelPage(ProspectiveStudent prospectiveStudent);

    List<StudentSource> findBySource();

    List<Teacher> findByTeacher();

    ProspectiveStudent findByCid(Integer cid);

    ProspectiveStudent findDelDetailById(Integer id);

    List<PSExcel> findByExcel();

    List<PSExcelModel> findByExcelModel();

    void importStudents(List<ImportStudents> studentList);

    List<CountGroup> findCountGroupByDate();

    List<PSPie> findPie();

    Integer piecount();

    Integer newStudent();

    Integer delStudent();
}
